package top.andoudou.generator.mybatis;

import org.springframework.boot.WebApplicationType;
import top.andoudou.generator.mybatis.config.CodeProperties;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

@SpringBootApplication
@EnableConfigurationProperties(CodeProperties.class)
public class MybatisGeneratorApplication {

    public static void main(String[] args) {
        SpringApplication application = new SpringApplication();
        application.setWebApplicationType(WebApplicationType.NONE);
        application.setBannerMode(Banner.Mode.OFF);
        application.run(MybatisGeneratorApplication.class,args);
    }
}
